Setting the element sizes

To limit the time and resources required to run finite element analysis, an adaptively sized tetrahedral volume mesh is needed, with a finer resolution mesh near wellbores and other features of interest. In the Set Element Sizes step of the Surface Meshing workflow (model > 3D Mesh > Set Element Sizes), you create a 3D definition that is visualized as an easy grid. This 3D definition is used during the surface re-triangulation and 3D mesh volume meshing.

3D mesh structural model with refinement region around the wellbore.    click to enlarge

You can create as complex a size definition as you require by creating as many mesh refinement regions as you wish. In case these regions are overlapping, the minimum size is used.

Important   If you update any of the settings of an object that is already used as a refinement region, you must remove it from the mesh refinement regions table and add the modified object again for the changes to be applied in the refinement.

To set the element sizes

  1. On the Set Element Sizes form (model > 3D Mesh > Set Element Sizes), set the default, or 'background', element size by entering a value in the Maximum element size field under Full Mesh Parameters. (You can optionally take the full mesh parameter and mesh refinement regions from an existing 3D mesh structural model, see step 4 below.)
  2. A very steep element size transition at the boundaries of refinement regions may cause issues during finite element analysis, therefore you should set an acceptable value in the Gradation field. The gradation is defined as a growth factor of an edge length. If the gradation is 2, then two triangles edges that are connected may not differ more than a factor of 2. Gradation should always be greater than 1, a value between 1.5 and 2.5 is recommended. Upon opening the Set Element Sizes form, a default value of 2 is already entered.
  3. Under Mesh Refinement Regions, you find the options to increase the detail of the model in regions of particular interest, see Adding mesh refinement regions. As you build your size definition, you can click Apply to save your settings and Preview to visualize the mesh regions.
  4. You should not have any regions that are completely outside the boundary, as this may cause issues during re-triangulation. It does not matter if the selected region extends beyond the model boundary. Any parts that do will be ignored during re-meshing.
  5. (Alternative) The Autofill button opens the Autofill form. It enables you to use the settings from another 3D mesh structural model. This includes the Full Mesh Parameter settings and the Mesh Refinement Regions settings. Any information already present on the form will be overwritten. From the model drop-down list, select the 3D mesh structural model to take the settings from. Click OK to autofill the Set Element Sizes form and close the Autofill form. Click Apply or OK at the base of the Set Element Sizes form to save the settings.

Preview

When you click Preview, you visualize the mesh refinement region(s) in a temporary grid. The name of the grid will be <name of the 3D mesh structural model>(SZ). The mesh refinement regions are highlighted (as a property of the temporary grid). Once you click OK on the Set Element Sizes form, the grid is removed from the solution again.

To add mesh refinement regions

Important  You can use all the settings - target element size, gradient and mesh refinement regions - you have defined for a 3D mesh structural model for another 3D mesh structural model with the Autofill button.

You can add as many mesh regions as you need. If they overlap, the smallest target element size will be used.

To remove a mesh refinement region from the table, select it in the table by clicking on it. The selected mesh refinement region is highlighted in blue. Click the icon and click Apply.

Creating a boundary

When you need a boundary as a line (i.e. polyline, either open or closed), there are several ways to create one. Once created, polylines are stored in the Data > Boundaries folder as a polyline set (the polyline set will consist of one single polyline in this case). Whether or not a boundary needs to be closed depends on its use. You can verify whether a polyline is closed via the Polyline form (right-mouse click on a polyline set in the JewelExplorer or in a view and select Edit... ). On the form a checkbox next to the polyline's Id marks whether it is closed, or not.

Creating a boundary based on existing data

Right mouse click on a tri-mesh in the JewelExplorer or in the 2D/3D View and select Create > Create Boundary from the context menu.

Right mouse click on a constraint in the JewelExplorer, in the dedicated Thickness/Trend Map View or in the 2D/3D View and select Create > Create Boundary from the context menu.

Right mouse click on an area in the JewelExplorer or in the 2D/3D View and select Create Boundary.

Creating a boundary from scratch

To create a new boundary, click on Data in the JewelExplorer and select Create Object from the context menu. On the Create Object form, type a Name for the boundary you want to create and select Boundary from the Type drop-down list. Click OK to create the boundary and close the form. The new boundary and polyline set representation will appear in the Boundary folder inside the Data folder in the JewelExplorer, but the polyline set will be 'empty' (it does not contain any polylines yet). Next, with the polyline set selected in the JewelExplorer, open the graphical editing tools (Workspace > Tools > Editing Tools). The name of the boundary should appear in the title bar of the floating palette. In your 3D View, make sure you can see a surface on which to 'draw' the boundary. Choose from one of the following scenarios to 'draw' the line:

  • Click the Add Polyline icon (W), , and click on the surface in your 3D View to define the boundary. It depends on the purpose of the boundary whether or not it needs to be closed (i.e. polygon). In case you need to close it, you can do the following: when you have almost completed the polyline, it will still be open. To close it, select the Close/Unclose Polyline tool and click on the polyline you just created. The gap between your first and last points will close up.
  • Click the Add Circle Shaped Polyline icon (L), , adjust the settings if needed and click on the surface in your 3D View to define the boundary.
  • Click the Add Rectangle Shaped Polyline icon (K), , adjust the settings if needed and click on the surface in your 3D View to define the boundary.